(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[43],{

/***/ "./src/views/flowable/modules/design/modules/right/config/flow.js":
/*!************************************************************************!*\
  !*** ./src/views/flowable/modules/design/modules/right/config/flow.js ***!
  \************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* @Descripttion:
   @Version: 1.0
   @Author: wufz
   @Date: 2022-12-07 09:25:10
   @LastEditors: wufz
   @LastEditTime: 2022-12-07 11:42:14 */
/* harmony default export */ __webpack_exports__["default"] = ({
  getFlowConfigData: function getFlowConfigData(item) {
    return {
      nodeType: 2,
      nodeName: item.nodeName,
      refBeanName: item.refBeanName,
      jobId: item.jobId,
      runStatus: item.runStatus
    };
  },
  /**
   * @description: 获取配置面板信息
   * @author: wufz
   * @param {*} item 节点的configParams
   * @return {*}
   */
  getFlowConfigPanelInfo: function getFlowConfigPanelInfo(item) {
    return {
      setting: {
        type: 'dcbTabs',
        attrs: {
          value: '基础信息'
        },
        children: {
          baseInfo: {
            type: 'dcbTabsPanel',
            props: {
              tab: '基础信息',
              key: '基础信息'
            },
            children: {
              node: {
                type: 'dcbCollapse',
                attrs: {
                  value: '节点信息'
                },
                children: {
                  nodeInfo: {
                    type: 'dcbCollapsePanel',
                    props: {
                      header: '节点信息',
                      key: '节点信息'
                    },
                    children: {
                      nodeType: {
                        type: 'dcbInput',
                        attrs: {
                          value: '过程',
                          title: '节点类型',
                          titleWidth: '90'
                        },
                        props: {
                          type: 'text',
                          disabled: true
                        }
                      },
                      nodeName: {
                        type: 'dcbInput',
                        attrs: {
                          value: item.nodeName,
                          title: '节点名称',
                          titleWidth: '90'
                        },
                        props: {
                          type: 'text',
                          placeholder: '请输入节点名称'
                        },
                        events: {
                          blur: 'setCellName'
                        }
                      },
                      jobId: {
                        type: 'dcbAutoComplete',
                        attrs: {
                          titlePrefix: {
                            content: '支持搜索，仅展示搜索结果的前50条数据'
                          },
                          value: item.jobId,
                          title: '配置作业',
                          titleWidth: '90'
                        },
                        props: {
                          placeholder: '请选择节点配置的作业',
                          dataSource: []
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          runningLog: {
            type: 'dcbTabsPanel',
            props: {
              tab: '运行日志',
              key: '运行日志',
              disabled: true
            },
            children: {
              logObj: {
                type: 'dcbCollapse',
                attrs: {
                  value: '节点运行日志'
                },
                children: {
                  nodeLog: {
                    type: 'dcbCollapsePanel',
                    props: {
                      header: '节点运行日志',
                      key: '节点运行日志'
                    },
                    children: {
                      log: {
                        type: 'runningLog',
                        attrs: {
                          value: '暂无日志数据'
                        }
                      }
                    }
                  },
                  allLog: {
                    type: 'dcbCollapsePanel',
                    props: {
                      header: '整体流程运行日志',
                      key: '整体流程运行日志'
                    },
                    children: {
                      log: {
                        type: 'runningLog',
                        attrs: {
                          value: '暂无日志数据'
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    };
  }
});

/***/ })

}]);